<?php

namespace Lims\MainBundle\Entity;

use Doctrine\ORM\Mapping as ORM;

/**
 * LegalEntityActivity
 */
class LegalEntityActivity
{
    /**
     * @var integer
     */
    private $id;

    /**
     * @var \DateTime
     */
    private $createdDate;

    /**
     * @var integer
     */
    private $createdUserId;

    /**
     * @var boolean
     */
    private $isActive;

    /**
     * @var \Lims\MainBundle\Entity\Activity
     */
    private $activity;

    /**
     * @var \Lims\MainBundle\Entity\LegalEntity
     */
    private $legalEntity;


    /**
     * Get id
     *
     * @return integer 
     */
    public function getId()
    {
        return $this->id;
    }

    /**
     * Set createdDate
     *
     * @param \DateTime $createdDate
     * @return LegalEntityActivity
     */
    public function setCreatedDate($createdDate)
    {
        $this->createdDate = $createdDate;

        return $this;
    }

    /**
     * Get createdDate
     *
     * @return \DateTime 
     */
    public function getCreatedDate()
    {
        return $this->createdDate;
    }

    /**
     * Set createdUserId
     *
     * @param integer $createdUserId
     * @return LegalEntityActivity
     */
    public function setCreatedUserId($createdUserId)
    {
        $this->createdUserId = $createdUserId;

        return $this;
    }

    /**
     * Get createdUserId
     *
     * @return integer 
     */
    public function getCreatedUserId()
    {
        return $this->createdUserId;
    }

    /**
     * Set isActive
     *
     * @param boolean $isActive
     * @return LegalEntityActivity
     */
    public function setIsActive($isActive)
    {
        $this->isActive = $isActive;

        return $this;
    }

    /**
     * Get isActive
     *
     * @return boolean 
     */
    public function getIsActive()
    {
        return $this->isActive;
    }

    /**
     * Set activity
     *
     * @param \Lims\MainBundle\Entity\Activity $activity
     * @return LegalEntityActivity
     */
    public function setActivity(\Lims\MainBundle\Entity\Activity $activity = null)
    {
        $this->activity = $activity;

        return $this;
    }

    /**
     * Get activity
     *
     * @return \Lims\MainBundle\Entity\Activity 
     */
    public function getActivity()
    {
        return $this->activity;
    }

    /**
     * Set legalEntity
     *
     * @param \Lims\MainBundle\Entity\LegalEntity $legalEntity
     * @return LegalEntityActivity
     */
    public function setLegalEntity(\Lims\MainBundle\Entity\LegalEntity $legalEntity = null)
    {
        $this->legalEntity = $legalEntity;

        return $this;
    }

    /**
     * Get legalEntity
     *
     * @return \Lims\MainBundle\Entity\LegalEntity 
     */
    public function getLegalEntity()
    {
        return $this->legalEntity;
    }
}
